<?php

$page_title = "My Stuff";
$rank_check = 1;
include "header.inc.php";

print "$openHTML";

$findPage = fetch("SELECT * FROM game_pages WHERE page_title = '$page_title' AND game = '$game'");
if ($findPage[page_info] == "")
{
	print "<br><div align=center><b><font face=Arial size=2 color=#FF0000>My Stuff Management Panel</font></b></div>";
}
else
{
	include "showpage.inc.php";
	print "$findPage[page_info]";
}

ECHO <<<END

<CENTER>
<table width="100" border="0" cellspacing="5" cellpadding="0">
  <tr align="left" valign="top"> 
    <td><a href="auctions.php?game=$game&page=search&search_by=my_auctions"><img src="images/myauction.jpg" width="161" height="144" border="0"></a></td>
    <td><a href="buds.php?game=$game"><img src="images/mybuddies.jpg" width="161" height="144" border="0"></a></td>
    <td><a href="clubs.php?game=$game"><img src="images/myclub.jpg" width="161" height="144" border="0"></a></td>
    <td><a href="mygallery.php?game=$game"><img src="images/mygallery.jpg" width="161" height="144" border="0"></a></td>
  </tr>
  <tr align="left" valign="top"> 
    <td><a href="myitems.php?game=$game"><img src="images/myitems.jpg" width="161" height="144" border="0"></a></td>
    <td><a href="item_helper.php?game=$game"><img src="images/myitemshelper.jpg" width="161" height="144" border="0"></a></td>
    <td><a href="update_profile.php?game=$game"><img src="images/myprofile.jpg" width="161" height="144" border="0"></a></td>
    <td><a href="safety_box.php?game=$game"><img src="images/mysafe.jpg" width="161" height="144" border="0"></a></td>
  </tr>
  <tr align="left" valign="top"> 
    <td><a href="nursery.php?game=$game"><img src="images/myscheduledjobs.jpg" width="161" height="144" border="0"></a></td>
    <td><a href="myshop.php?game=$game"><img src="images/myshop.jpg" width="161" height="144" border="0"></a></td>
    <td><a href="your_topics.php?game=$game"><img src="images/mytopics.jpg" width="161" height="144" border="0"></a></td>
    <td><a href="mypets.php?game=$game"><img src="images/myvpets.jpg" width="161" height="144" border="0"></a></td>
  </tr>
</table>
</CENTER>

END;

print "$closeHTML";
?>
